<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%-- <%@page import="cn.edu.jsu.nrs.Admin" %> --%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
<html>
<head>
<base href="<%=basePath%>">
<base target="_self">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台管理</title>
<link href="admin/css/style.css" rel="stylesheet" type="text/css" />
<script src="admin/js/jquery-1.9.0.js"></script>
<script type="text/javascript" src="admin/js/index.js">
</script>

</head>

<body>
	<%-- 防止非法页面跳转
	<%
		if (session.getAttribute("admin")== null) {
			response.sendRedirect("../admin/login.jsp");//跳转到登录页面

		}else{
			Admin admin=(Admin)session.getAttribute("admin");
		}
	%> --%>
	<div id="wrap">
		<div id="header">
			<div class="logo fleft"></div>
			<div class="nav fleft">
				<ul>
					<div class="nav-left fleft"></div>
					<li class="first">我的面板</li>
					<li>首页</li>
					<li>模块</li>
					<li>内容</li>
					<li>用户</li>
					<li>扩展</li>
					<li>应用</li>
					<div class="nav-right fleft"></div>
				</ul>
			</div>
			<a id="indexClose" class="logout fright" href="admin/login.jsp"><%session.removeAttribute("admin");%> </a>
			<div class="clear"></div>
			<div class="subnav">
				<div class="subnavLeft fleft"></div>
				<div class="fleft"></div>
				<div class="subnavRight fright"></div>
			</div>
		</div>
		<!--#header -->
		<div id="content">
			<div class="space"></div>
			<div class="menu fleft">
				<ul>
					<li class="subMenuTitle">管理菜单</li>
					<li class="subMenu"><a href="#"
						target="right">新闻管理</a>
						<ul>
							<li><a href="admin/addNews.jsp" target="right">添加新闻</a></li>
							<li><a href="#" target="right">修改新闻</a></li>
							<li><a href="admin/findUser.jsp" target="right">查询新闻</a></li>
							<li><a href="admin/showlist.jsp" target="right">删除新闻</a></li>
						</ul>
						</li>
					<li class="subMenu"><a href="#">用户管理</a>
						<ul>
							<li><a href="admin/findUser.jsp" target="right">添加用户</a></li>
							<li><a href="admin/findUser.jsp" target="right">查询用户</a></li>
							<li><a href="admin/findUser.jsp" target="right">修改用户</a></li>
							<li><a href="admin/findUser.jsp" target="right">删除用户</a></li>
						</ul>
					</li>
					<li class="subMenu"><a href="main.html" target="right">标题标题标题</a>
					</li>
					
					<li class="subMenu"><a href="http://www.codefans.net"
						target="right">评论管理</a></li>
					<li class="subMenu"><a href="http://www.codefans.net"
						target="right">标题标题标题</a></li>
					<li class="subMenu"><a href="http://www.codefans.net"
						target="right">标题标题标题</a></li>
					<li class="subMenu"><a href="#" target="right">个人信息</a></li>
				</ul>
			</div>
			<div class="sidebar fleft">
				<div class="btn"></div>
			</div>
			<div class="page">
				<iframe width="100%" scrolling="auto" height="100%"
					frameborder="true" allowtransparency="true"
					style="border: medium none;" src="admin/main.jsp" id="rightMain"
					name="right"></iframe>
			</div>
		</div>
		<!--#content -->
		<div class="clear"></div>
		<div id="footer">欢迎您,<div id="admin_infor"></div></div>
		<s:debug></s:debug>
</html>